package com.shengqin.calculate.events;

import com.shengqin.calculate.data.CalculateSummaryModel;
import org.springframework.context.ApplicationEvent;

public class CalculateSummaryEvent extends ApplicationEvent {

  private CalculateSummaryModel model;

  public CalculateSummaryEvent(Object source, CalculateSummaryModel model) {
    super(source);
    this.model = model;
  }

  public CalculateSummaryModel getModel() {
    return model;
  }

  public void setModel(CalculateSummaryModel model) {
    this.model = model;
  }
}